import request from '@/router/axios';
const prefix = '/api/data-asset/';
export const getFireDataByAll = (params) => {
  return request({
    url: prefix + 'firedatastatistics/detail',
    method: 'get',
    params: params
  })
};
export const getFireDataByDay = (params) => {
  return request({
    url: prefix + 'firedatastatisticseveryday/list',
    method: 'get',
    params: params
  })
};
export const getFireDataByLevel = (params) => {
  return request({
    url: prefix + 'fire-stats/level',
    method: 'get',
    params: params
  })
};
export const getFireDataByPercent = (params) => {
  return request({
    url: prefix + 'fire-stats/status',
    method: 'get',
    params: params
  })
};
export const getFireDataByTop = (params) => {
  return request({
    url: prefix + 'fire-stats/regionTop10',
    method: 'get',
    params: params
  })
};
export const getFireDataByRegion = (params) => {
  return request({
    url: prefix + 'fire-stats/regionStatsInfo',
    method: 'get',
    params: params
  })
};
